package com.ruoyi.system.mapper;

import com.ruoyi.common.mybatis.core.mapper.BaseMapperPlus;
import com.ruoyi.system.domain.InvestigationUserAnswer;
import com.ruoyi.system.domain.vo.InvestigationUserAnswerVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 用户问卷答案Mapper接口
 *
 * @author ruoyi
 * @date 2024-12-13
 */
public interface InvestigationUserAnswerMapper extends BaseMapperPlus<InvestigationUserAnswerMapper, InvestigationUserAnswer, InvestigationUserAnswerVo> {

    List<InvestigationUserAnswerVo> getByInvestigationIdAndUserId(@Param("investigation_id") Long investigationId, @Param("user_id")Long userId);

    List<InvestigationUserAnswerVo> getByInvestigationId(@Param("investigation_id") Long investigationId);

    List<Map> getStatic(@Param("investigationId") Long id);
}
